<template>
  <div id="app" :class="$store.state.app.device">
    <router-view />
  </div>
</template>

<script>
import {guid} from "@/utils";

export default {
  name: "App",
  created() {
    const appid = localStorage.getItem('appid')
    if (!appid) {
      localStorage.setItem('appid', guid())
    }
  }
};
</script>

